#include <stdio.h>
#include <stdlib.h>
#include <time.h>

int main(int argc,char* argv[])
{   
    unsigned int yue=0,zhishu=0,geshu=2;
    printf("请输入兔子生崽的月数:");
    scanf("%u",&yue);
    zhishu=yue/3;
    while(zhishu)
    {
        geshu=2*geshu;
        zhishu--;
    }
    printf("%u个月之后有%u只兔子\n",yue,geshu);


    return 0;
}